import requests

params = {
	"offset": 0,
	"size": 30
}
headers = {
	"referer": "http://127.0.0.1:8000"
}
res = requests.get("http://127.0.0.1:8000/json/", params=params, headers=headers)

print(res.json())